/************************************************************
 * Copyright (C), 2020-2030, ripnano. Co., Ltd.
 * FileName:        global.h
 * Author:			Dan Yin
 * Date:            2023-06-08
 * Description:		the global definition file
 * Version:			1.0.0.0
 **********************************************************/

#ifndef GLOBAL_H
#define GLOBAL_H

#include <QObject>
#include <QWidget>
#include <QDebug>
#include <QTimer>
#include <QFile>
#include <QDir>
#include <QtDebug>
#include <QApplication>
#include <QGraphicsDropShadowEffect>
#include <QTranslator>
#include <QDateTime>
#include <QThread>
#include <QMessageBox>
#include <QPluginLoader>
#include <QtCharts>
#include <QtCharts/QChartView>
#include <QtCharts/QSplineSeries>
#include <QtConcurrent>
#include <QList>
#include <QStringList>
#include <QMetaType>

#include "global_ver.h"
#include "global_ui.h"
#include "global_db.h"
#include "global_err.h"
#include "utility_api.h"

#define DEF_SEC_INTERVAL            1000
#define DEF_CUR_TIME                QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss")
#define DEF_CUR_TIME_EX             QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss.zzz")
#define DEF_COMMAND_SEPARATOR       ";"     // Separate command items for process tests
#define DEF_PARAM_SEPARATOR         ","     // Separate param items for process tests
#define DF_USB_DEV_PATH             "/sys/class/scsi_device/"

#endif // GLOBAL_H
